import Left from "./components/left";
import Right from "./components/right";
import { selectColor } from "./store/colorSlice";
import { useAppSelector } from "./store/hook";
function App() {
  const color = useAppSelector(selectColor);
  return (
    <div style={{ backgroundColor: color, display: "flex", width: 500 }}>
      <Left />
      <Right />
    </div>
  );
}

export default App;
